package rmaqlc31.basic;

import java.util.Scanner;

public class J04_CheckNumber {

	public static void main(String[] args) {
		
		
		Scanner sc = null;
		
		int checknumber;
		final String A = "10000미만";
		final String B = "10000~20000";
		final String C = "20000~30000";
		final String D = "범위 밖 값";
		
		sc = new Scanner(System.in);
		
		System.out.print("정수를 입력하세요 : ");
		checknumber = sc.nextInt();
		
		if(checknumber<10000){System.out.println(A);}
		else if(checknumber>=10000&&checknumber<20000){System.out.println(B);}
		else if(checknumber>=20000&&checknumber<30000){System.out.println(C);}
		else{System.out.println(D);}
		
		sc.close();
		
		
		
		
		
	}

}
